package com.xiaolin.designmode.builder;

/**
 * @ClassName ABlandMotorBuilder
 * @Description 具体构建者
 * @Detail 实现了抽象方法，完成各个部件的生产
 * @Author MyPC
 * @Date 2020/10/30
 * @Version 1.0
 */
public class ABlandMotorBuilder extends AbstractMotorBuilder {
    @Override
    void setFrame() {
        motorbike.setFrame("A品牌车架");
    }

    @Override
    void setEngine() {
        motorbike.setEngine("A品牌发动机");
    }

    @Override
    void setTire() {
        motorbike.setTire("A品牌轮胎");
    }
}
